package com.virtualCat.service.impl;

import com.virtualCat.dao.AdminDao;
import com.virtualCat.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminDao adminDao;

    public Integer checkLogin(String username, String password) {
        return adminDao.checkAdmin(username,password);
    }
}
